//
//  XYUser.m
//  ReactiveCocoaUserDemo
//
//  Created by zsp on 2017/3/14.
//  Copyright © 2017年 zsp. All rights reserved.
//

#import "XYUser.h"

@implementation XYUser
+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    return @{
             @"name": @"name",
             @"createdAt": @"created_at"
             };
}

- (instancetype)initWithDictionary:(NSDictionary *)dictionaryValue error:(NSError **)error {
    self = [super initWithDictionary:dictionaryValue error:error];
    if (self == nil) return nil;
    
//    _helper = [XYHelper helperWithName:self.name createdAt:self.createdAt];
    
    return self;
}

@end
